package io.gitee.sfch.chunmi.controller.system.form;

import io.gitee.sfch.chunmi.dao.system.entity.SystemProduct;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * {@link SystemProduct}新增表单
 */
@Data
public class SystemProductAddForm {

    /**
     * 产品编码，如OA，WMS
     */
    @NotEmpty
    @Length(max = 50)
    private String productCode;

    /**
     * 产品名称
     */
    @NotEmpty
    @Length(max = 50)
    private String productName;

    /**
     * 产品描述
     */
    @Length(max = 5000)
    private String description;
}
